package com.gosophia.dataDictionary.dto;

import com.gosophia.commons.web.bean.BaseJsonObject;

/**
 * 数据值DTO
 * @author nana
 *
 */
public class DataValueDTO extends BaseJsonObject{

    private static final long serialVersionUID = 8543538205812848684L;
    /**
     * dataValueId
     */
    private Long dataValueId;

    /**
     * 版本控制，支持并发操作
     */
    private Long version;

    /**
     * 数据值
     */
    private String value;

    /**
     * 数据值的key
     */
    private String key;

    /**
     * 排序号
     */
    private int orderIndex;
    
    /**
     * 数据值描述
     */
    private String dataValueDescliption;

    /**
     * 启用标记
     */
    private boolean isEnabled;

    /**所属词条Id*/
//    @DozerProperty(myField="entryId", beforeField="dataEntry.dataValueId")
    private Long entryId;

    public Long getDataValueId() {
        return dataValueId;
    }

    public void setDataValueId(Long dataValueId) {
        this.dataValueId = dataValueId;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public int getOrderIndex() {
        return orderIndex;
    }

    public void setOrderIndex(int orderIndex) {
        this.orderIndex = orderIndex;
    }

    public boolean getIsEnabled() {
        return isEnabled;
    }

    public void setIsEnabled(boolean isEnabled) {
        this.isEnabled = isEnabled;
    }

    public Long getEntryId() {
        return entryId;
    }

    public void setEntryId(Long entryId) {
        this.entryId = entryId;
    }

    public String getDataValueDescliption() {
        return dataValueDescliption;
    }

    public void setDataValueDescliption(String dataValueDescliption) {
        this.dataValueDescliption = dataValueDescliption;
    }
    
}
